package cn.wenhaha.app.log.bean;

/**
 * 反馈类型<br/>
 * 0-查询数据错误 1- 上传数据错误 2-回写错误 3-非业务错误
 * --------
 *
 * @author ：wyndem
 * @Date ：Created in 2022-12-17 17:40
 */
public enum ReportErrorType {
    QUERY(0,"查询数据"),
    ECHO(4,"回显数据"),
    UPLOAD(1,"上传数据错误"),
    WRITE(2,"回写错误"),
    SYSTEM(3,"非业务错误"),

    ;

    private  final Integer code;
    private  final String name;

    ReportErrorType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
